package com.entity;

import java.util.ArrayList;
import java.util.List;

public class ProgrammerecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public ProgrammerecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPrnoIsNull() {
            addCriterion("prno is null");
            return (Criteria) this;
        }

        public Criteria andPrnoIsNotNull() {
            addCriterion("prno is not null");
            return (Criteria) this;
        }

        public Criteria andPrnoEqualTo(String value) {
            addCriterion("prno =", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotEqualTo(String value) {
            addCriterion("prno <>", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoGreaterThan(String value) {
            addCriterion("prno >", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoGreaterThanOrEqualTo(String value) {
            addCriterion("prno >=", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLessThan(String value) {
            addCriterion("prno <", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLessThanOrEqualTo(String value) {
            addCriterion("prno <=", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLike(String value) {
            addCriterion("prno like", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotLike(String value) {
            addCriterion("prno not like", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoIn(List<String> values) {
            addCriterion("prno in", values, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotIn(List<String> values) {
            addCriterion("prno not in", values, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoBetween(String value1, String value2) {
            addCriterion("prno between", value1, value2, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotBetween(String value1, String value2) {
            addCriterion("prno not between", value1, value2, "prno");
            return (Criteria) this;
        }

        public Criteria andManoIsNull() {
            addCriterion("mano is null");
            return (Criteria) this;
        }

        public Criteria andManoIsNotNull() {
            addCriterion("mano is not null");
            return (Criteria) this;
        }

        public Criteria andManoEqualTo(Integer value) {
            addCriterion("mano =", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoNotEqualTo(Integer value) {
            addCriterion("mano <>", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoGreaterThan(Integer value) {
            addCriterion("mano >", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoGreaterThanOrEqualTo(Integer value) {
            addCriterion("mano >=", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoLessThan(Integer value) {
            addCriterion("mano <", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoLessThanOrEqualTo(Integer value) {
            addCriterion("mano <=", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoIn(List<Integer> values) {
            addCriterion("mano in", values, "mano");
            return (Criteria) this;
        }

        public Criteria andManoNotIn(List<Integer> values) {
            addCriterion("mano not in", values, "mano");
            return (Criteria) this;
        }

        public Criteria andManoBetween(Integer value1, Integer value2) {
            addCriterion("mano between", value1, value2, "mano");
            return (Criteria) this;
        }

        public Criteria andManoNotBetween(Integer value1, Integer value2) {
            addCriterion("mano not between", value1, value2, "mano");
            return (Criteria) this;
        }

        public Criteria andEnoIsNull() {
            addCriterion("eno is null");
            return (Criteria) this;
        }

        public Criteria andEnoIsNotNull() {
            addCriterion("eno is not null");
            return (Criteria) this;
        }

        public Criteria andEnoEqualTo(Integer value) {
            addCriterion("eno =", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoNotEqualTo(Integer value) {
            addCriterion("eno <>", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoGreaterThan(Integer value) {
            addCriterion("eno >", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoGreaterThanOrEqualTo(Integer value) {
            addCriterion("eno >=", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoLessThan(Integer value) {
            addCriterion("eno <", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoLessThanOrEqualTo(Integer value) {
            addCriterion("eno <=", value, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoIn(List<Integer> values) {
            addCriterion("eno in", values, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoNotIn(List<Integer> values) {
            addCriterion("eno not in", values, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoBetween(Integer value1, Integer value2) {
            addCriterion("eno between", value1, value2, "eno");
            return (Criteria) this;
        }

        public Criteria andEnoNotBetween(Integer value1, Integer value2) {
            addCriterion("eno not between", value1, value2, "eno");
            return (Criteria) this;
        }

        public Criteria andAtrnoIsNull() {
            addCriterion("atrno is null");
            return (Criteria) this;
        }

        public Criteria andAtrnoIsNotNull() {
            addCriterion("atrno is not null");
            return (Criteria) this;
        }

        public Criteria andAtrnoEqualTo(Integer value) {
            addCriterion("atrno =", value, "atrno");
            return (Criteria) this;
        }

        public Criteria andAtrnoNotEqualTo(Integer value) {
            addCriterion("atrno <>", value, "atrno");
            return (Criteria) this;
        }

        public Criteria andAtrnoGreaterThan(Integer value) {
            addCriterion("atrno >", value, "atrno");
            return (Criteria) this;
        }

        public Criteria andAtrnoGreaterThanOrEqualTo(Integer value) {
            addCriterion("atrno >=", value, "atrno");
            return (Criteria) this;
        }

        public Criteria andAtrnoLessThan(Integer value) {
            addCriterion("atrno <", value, "atrno");
            return (Criteria) this;
        }

        public Criteria andAtrnoLessThanOrEqualTo(Integer value) {
            addCriterion("atrno <=", value, "atrno");
            return (Criteria) this;
        }

        public Criteria andAtrnoIn(List<Integer> values) {
            addCriterion("atrno in", values, "atrno");
            return (Criteria) this;
        }

        public Criteria andAtrnoNotIn(List<Integer> values) {
            addCriterion("atrno not in", values, "atrno");
            return (Criteria) this;
        }

        public Criteria andAtrnoBetween(Integer value1, Integer value2) {
            addCriterion("atrno between", value1, value2, "atrno");
            return (Criteria) this;
        }

        public Criteria andAtrnoNotBetween(Integer value1, Integer value2) {
            addCriterion("atrno not between", value1, value2, "atrno");
            return (Criteria) this;
        }

        public Criteria andPrtitleIsNull() {
            addCriterion("prtitle is null");
            return (Criteria) this;
        }

        public Criteria andPrtitleIsNotNull() {
            addCriterion("prtitle is not null");
            return (Criteria) this;
        }

        public Criteria andPrtitleEqualTo(String value) {
            addCriterion("prtitle =", value, "prtitle");
            return (Criteria) this;
        }

        public Criteria andPrtitleNotEqualTo(String value) {
            addCriterion("prtitle <>", value, "prtitle");
            return (Criteria) this;
        }

        public Criteria andPrtitleGreaterThan(String value) {
            addCriterion("prtitle >", value, "prtitle");
            return (Criteria) this;
        }

        public Criteria andPrtitleGreaterThanOrEqualTo(String value) {
            addCriterion("prtitle >=", value, "prtitle");
            return (Criteria) this;
        }

        public Criteria andPrtitleLessThan(String value) {
            addCriterion("prtitle <", value, "prtitle");
            return (Criteria) this;
        }

        public Criteria andPrtitleLessThanOrEqualTo(String value) {
            addCriterion("prtitle <=", value, "prtitle");
            return (Criteria) this;
        }

        public Criteria andPrtitleLike(String value) {
            addCriterion("prtitle like", value, "prtitle");
            return (Criteria) this;
        }

        public Criteria andPrtitleNotLike(String value) {
            addCriterion("prtitle not like", value, "prtitle");
            return (Criteria) this;
        }

        public Criteria andPrtitleIn(List<String> values) {
            addCriterion("prtitle in", values, "prtitle");
            return (Criteria) this;
        }

        public Criteria andPrtitleNotIn(List<String> values) {
            addCriterion("prtitle not in", values, "prtitle");
            return (Criteria) this;
        }

        public Criteria andPrtitleBetween(String value1, String value2) {
            addCriterion("prtitle between", value1, value2, "prtitle");
            return (Criteria) this;
        }

        public Criteria andPrtitleNotBetween(String value1, String value2) {
            addCriterion("prtitle not between", value1, value2, "prtitle");
            return (Criteria) this;
        }

        public Criteria andPtcontentIsNull() {
            addCriterion("ptcontent is null");
            return (Criteria) this;
        }

        public Criteria andPtcontentIsNotNull() {
            addCriterion("ptcontent is not null");
            return (Criteria) this;
        }

        public Criteria andPtcontentEqualTo(String value) {
            addCriterion("ptcontent =", value, "ptcontent");
            return (Criteria) this;
        }

        public Criteria andPtcontentNotEqualTo(String value) {
            addCriterion("ptcontent <>", value, "ptcontent");
            return (Criteria) this;
        }

        public Criteria andPtcontentGreaterThan(String value) {
            addCriterion("ptcontent >", value, "ptcontent");
            return (Criteria) this;
        }

        public Criteria andPtcontentGreaterThanOrEqualTo(String value) {
            addCriterion("ptcontent >=", value, "ptcontent");
            return (Criteria) this;
        }

        public Criteria andPtcontentLessThan(String value) {
            addCriterion("ptcontent <", value, "ptcontent");
            return (Criteria) this;
        }

        public Criteria andPtcontentLessThanOrEqualTo(String value) {
            addCriterion("ptcontent <=", value, "ptcontent");
            return (Criteria) this;
        }

        public Criteria andPtcontentLike(String value) {
            addCriterion("ptcontent like", value, "ptcontent");
            return (Criteria) this;
        }

        public Criteria andPtcontentNotLike(String value) {
            addCriterion("ptcontent not like", value, "ptcontent");
            return (Criteria) this;
        }

        public Criteria andPtcontentIn(List<String> values) {
            addCriterion("ptcontent in", values, "ptcontent");
            return (Criteria) this;
        }

        public Criteria andPtcontentNotIn(List<String> values) {
            addCriterion("ptcontent not in", values, "ptcontent");
            return (Criteria) this;
        }

        public Criteria andPtcontentBetween(String value1, String value2) {
            addCriterion("ptcontent between", value1, value2, "ptcontent");
            return (Criteria) this;
        }

        public Criteria andPtcontentNotBetween(String value1, String value2) {
            addCriterion("ptcontent not between", value1, value2, "ptcontent");
            return (Criteria) this;
        }

        public Criteria andPrpriceIsNull() {
            addCriterion("prprice is null");
            return (Criteria) this;
        }

        public Criteria andPrpriceIsNotNull() {
            addCriterion("prprice is not null");
            return (Criteria) this;
        }

        public Criteria andPrpriceEqualTo(Integer value) {
            addCriterion("prprice =", value, "prprice");
            return (Criteria) this;
        }

        public Criteria andPrpriceNotEqualTo(Integer value) {
            addCriterion("prprice <>", value, "prprice");
            return (Criteria) this;
        }

        public Criteria andPrpriceGreaterThan(Integer value) {
            addCriterion("prprice >", value, "prprice");
            return (Criteria) this;
        }

        public Criteria andPrpriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("prprice >=", value, "prprice");
            return (Criteria) this;
        }

        public Criteria andPrpriceLessThan(Integer value) {
            addCriterion("prprice <", value, "prprice");
            return (Criteria) this;
        }

        public Criteria andPrpriceLessThanOrEqualTo(Integer value) {
            addCriterion("prprice <=", value, "prprice");
            return (Criteria) this;
        }

        public Criteria andPrpriceIn(List<Integer> values) {
            addCriterion("prprice in", values, "prprice");
            return (Criteria) this;
        }

        public Criteria andPrpriceNotIn(List<Integer> values) {
            addCriterion("prprice not in", values, "prprice");
            return (Criteria) this;
        }

        public Criteria andPrpriceBetween(Integer value1, Integer value2) {
            addCriterion("prprice between", value1, value2, "prprice");
            return (Criteria) this;
        }

        public Criteria andPrpriceNotBetween(Integer value1, Integer value2) {
            addCriterion("prprice not between", value1, value2, "prprice");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}